package com.cetcs.kmga.dataManager.entity.dataManager.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 告警规则实体
 * Created by yyangs on 2017/8/23.
 */
public class SecuRuleVo {
     //告警ID
    private Integer id;
    //告警名称
    private String alarmName;
    //更新时间
//    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private String time;
    //当前状态 是否启用
    private Integer runningType = 0;
    //数据库
    private String alarmUrl = "";
    //等级
    private String risk;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAlarmName() {
        return alarmName;
    }

    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getRunningType() {
        return runningType;
    }

    public void setRunningType(Integer runningType) {
        this.runningType = runningType;
    }

    public String getAlarmUrl() {
        return alarmUrl;
    }

    public void setAlarmUrl(String alarmUrl) {
        this.alarmUrl = alarmUrl;
    }

    public String getRisk() {
        return risk;
    }

    public void setRisk(String risk) {
        this.risk = risk;
    }
}
